package oom;

/**
 * @ClassName NativeErrorDemo
 * @Author ykx
 * @Date 2024/6/22 9:39
 * @Version 1.0
 */
public class NativeErrorDemo {
    public static void main(String[] args) {
        for (; ; ) {
            new Thread(() -> {
                try {
                    Thread.sleep(Integer.MAX_VALUE);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }).start();
        }
    }
}
